<script setup>
import {ElNotification} from "element-plus";

function open() {
    ElNotification({
        title: '成功',
        message: 'Vite + Vue3 + Element Plus正常运行',
        type: 'success'
    });
}
</script>

<template>
    <h1>Vue 3 + Vite + Element Plus</h1>
    <el-button plain type="primary" @click="open">这是什么？点一下试试</el-button>
</template>
